.file-preview {
  height: 100%;
  .change-version {
    line-height: initial;
    // width: 77px;
    height: 28px;
    background: #f6f7f9;
    border-radius: 4px;
    display: flex;
    align-items: center;
    color: #262626;
    font-size: 15px;
    justify-content: center;
    padding: 0 8px;
    > span {
      font-size: 20px;
      transform: translateY(1px);
      margin-left: 4px;
      margin-right: 0 !important;
    }
  }
  display: flex;
  flex-direction: column;

  .file-preview-error {
    background: #f6f7f9;
    flex: 1;
    color: #8a909f;
    font-size: 12px;
    display: flex;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    > span {
      font-size: 64px;
      line-height: 64px;
      margin-bottom: 12px;
    }
  }
  .file-preview-wrapper {
    flex: 1;
    background: #f6f7f9;
    display: flex;
    justify-content: center;
    align-items: center;
    // &--error {
    //   background: unset !important;
    // }
    > div {
      width: 100%;
    }
    video {
      width: 100%;
    }
  }

  .m-float-layout {
    .layout-body {
      padding: 0;
    }
    .layout-body__content {
      // position: relative;
    }
    .title {
      display: flex;
      height: 48px;
      justify-content: space-between;
      align-items: center;

      font-size: 15px;
      font-family: PingFangSC-Medium, PingFang SC;
      font-weight: 500;
      color: #262626;
      padding: 0 16px;
      box-shadow: inset 0px -1px 0px 0px #eceef2;
      > span {
        font-size: 20px;
      }
    }
    .versions {
      // height: 750px;
      overflow: scroll;
    }
    .version-line {
      position: relative;
      display: flex;
      height: 72px;
      box-shadow: inset 0px -1px 0px 0px #eceef2;
      margin: 0 16px;
      align-items: center;
      font-weight: 500;
      font-family: PingFangSC-Medium, PingFang SC;
      font-size: 14px;
      .version-name {
        width: 74px;
        flex-grow: 0;
        flex-shrink: 0;
      }
      .file {
        display: flex;
        align-items: center;
        .icon {
          height: 36px;
          width: 48px;
          flex-grow: 0;
          flex-shrink: 0;
          display: flex;
          align-items: center;
          > span {
            font-size: 36px;
            margin-right: 12px;
            width: calc(100% - 12px);
          }
        }
        .file-info {
          font-weight: 400;
          font-size: 14px;
          .file-name {
            width: 173px;
          }
          .file-time {
            font-size: 12px;
            font-weight: 400;
            color: #8a909f;
          }
        }
      }
      .check {
        margin-left: 24px;
        height: 24px;
        width: 24px;
        visibility: hidden;
        > img {
          height: 100%;
          width: 100%;
        }
      }
    }
    .version-line.checked {
      .check {
        visibility: initial;
      }
      &::before {
        content: "";
        position: absolute;
        height: 100%;
        left: -16px;
        width: 4px;
        border-radius: 0px 5px 5px 0px;
        background: #3972f9;
      }
    }
  }
}
